package com.buydeem.decorator;

/**
 *
 * @author zengchao
 * @date 2022-05-07 11:43:43
 */
public class CoffeeDecorator extends Decorator{

    public CoffeeDecorator(Drinks drinks) {
        super(drinks);
    }

    @Override
    public void taste() {
        drinks.taste();
        System.out.println("加了咖啡有苦味");
    }
}
